package com.lagou.gateway.constants;

import java.util.Arrays;
import java.util.List;

public class GatewayKnownHeader {
     public static final String GATEWAY_TOKEN = "gateway-token";
     public static final String AUTHORIZATION_TOKEN = "authorization";
     // 网关接受jwt(token) HEADER
     public static final String USER_JWT_TOKEN = "Authorization";
     // 验签后转换为 g-u-id: <jwt.subject>
     public static final String GATEWAY_USER_JWT_ID = "g-u-id";

     public static final List<String> PRIVATE_HEADER_NAMES = Arrays.asList(GATEWAY_USER_JWT_ID);
}
